﻿<Page x:Class="Hotel.WPF.ui.Client.P_Client"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:extToolkit="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit.Extended"
      mc:Ignorable="d" 
      d:DesignHeight="514" d:DesignWidth="919"
	Title="P_Client" Loaded="Page_Loaded">

    <extToolkit:BusyIndicator IsBusy="False" BusyContent="Chargement de la page en cours..." x:Name="busyTool" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="0,0,0,0" Width="900" Height="520">

        <Grid>
            <Label Content="GESTION DES CLIENTS" Height="28" Margin="10,5,37,0" Name="label1" VerticalAlignment="Top" Background="#FFD3DCF2" FontWeight="Bold" HorizontalAlignment="Stretch" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" />
            <TabControl Height="485" Margin="10,35,12,0" Name="tbCH" VerticalAlignment="Top">
                <TabItem Header="Clients" Name="ti_cli">
                    <Grid>
                        <Label Content="Titre" Height="28" HorizontalAlignment="Left" Margin="19,6,0,0" Name="label2" VerticalAlignment="Top" />
                        <Label Content="Prénom" Height="28" HorizontalAlignment="Left" Margin="19,44,0,0" Name="label3" VerticalAlignment="Top" />
                        <Label Content="Nom" Height="28" HorizontalAlignment="Left" Margin="19,74,0,0" Name="label4" VerticalAlignment="Top" />
                        <Label Content="Date de naissance" Height="28" HorizontalAlignment="Left" Margin="6,108,0,0" Name="label5" VerticalAlignment="Top" />
                        <Label Content="Age" Height="28" HorizontalAlignment="Left" Margin="19,151,0,0" Name="label6" VerticalAlignment="Top" />
                        <Label Content="Fumeur" Height="28" HorizontalAlignment="Left" Margin="33,182,0,0" Name="label7" VerticalAlignment="Top" />
                        <Label Content="Pays" Height="28" HorizontalAlignment="Left" Margin="33,220,0,0" Name="label8" VerticalAlignment="Top" />
                        <Label Content="Ville" Height="28" HorizontalAlignment="Left" Margin="33,250,0,0" Name="label9" VerticalAlignment="Top" />
                        <Label Content="Adresse" Height="28" HorizontalAlignment="Left" Margin="33,296,0,0" Name="label10" VerticalAlignment="Top" />
                        <Label Content="Email" Height="28" HorizontalAlignment="Left" Margin="327,10,0,0" Name="label11" VerticalAlignment="Top" />
                        <Label Content="Téléphone mobile" Height="28" HorizontalAlignment="Left" Margin="327,48,0,0" Name="label12" VerticalAlignment="Top" />
                        <Label Content="Téléphone fixe" Height="28" HorizontalAlignment="Left" Margin="327,86,0,0" Name="label13" VerticalAlignment="Top" />
                        <Label Content="Téléphone bureau" Height="28" HorizontalAlignment="Left" Margin="327,124,0,0" Name="label14" VerticalAlignment="Top" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="133,8,0,0" Name="txtTitre" VerticalAlignment="Top" Width="120" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="133,41,0,0" Name="txtPrenom" VerticalAlignment="Top" Width="120" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="133,74,0,0" Name="txtNom" VerticalAlignment="Top" Width="120" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="133,151,0,0" Name="txtAge" VerticalAlignment="Top" Width="61" IsReadOnly="True" IsEnabled="False" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="139,252,0,0" Name="txtVille" VerticalAlignment="Top" Width="187" />
                        <TextBox Height="39" HorizontalAlignment="Left" Margin="139,285,0,0" Name="txtAdresse" VerticalAlignment="Top" Width="187" AcceptsReturn="True" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="433,12,0,0" Name="txtEmail" VerticalAlignment="Top" Width="193" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="433,48,0,0" Name="txtTelMobile" VerticalAlignment="Top" Width="193" />
                        <TextBox Height="23" Margin="433,86,0,0" Name="txtTelFixe" VerticalAlignment="Top" HorizontalAlignment="Left" Width="193" />
                        <DatePicker Height="25" HorizontalAlignment="Left" Margin="133,109,0,0" Name="dpkDateNaissance" VerticalAlignment="Top" Width="115" SelectedDateChanged="dpkDateNaissance_SelectedDateChanged" />
                        <RadioButton Content="Oui" Height="16" HorizontalAlignment="Left" Margin="125,189,0,0" Name="rbFumeurYes" VerticalAlignment="Top" />
                        <RadioButton Content="Non" Height="16" HorizontalAlignment="Left" Margin="213,189,0,0" Name="rbFumeurNo" VerticalAlignment="Top" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="433,121,0,0" Name="txtTelBureau" VerticalAlignment="Top" Width="193" />
                        <Button Content="Valider" Height="30" HorizontalAlignment="Left" Margin="221,390,0,0" Name="bt_valider" VerticalAlignment="Top" Width="125" Click="btnValider_Click" />
                        <ComboBox ItemsSource="{Binding}" SelectedValue="ID"  DisplayMemberPath="Nom_Pays"  Height="23" HorizontalAlignment="Left" Margin="139,220,0,0" Name="cboPays" VerticalAlignment="Top" Width="153" >

                        </ComboBox>
                    </Grid>
                </TabItem>
            </TabControl>
            
        </Grid>
    </extToolkit:BusyIndicator>
</Page>
